<?php
define(EXCLUDE_QUERY, " AND driver_id != '16' AND driver_id != '100' AND driver_id != '101'");

class SeniorityList {

	function getNewestSeniorityList(){
		$query = "SELECT date_format(timestamp, '%M %D, %Y at %H:%i') AS timestamp FROM t_seniority_group ORDER BY timestamp DESC LIMIT 1";
		$result = mysql_query($query);
		if (mysql_num_rows($result) == 1) return mysql_result($result, 0);
		else return false;		
	}
}
?>